ImageGear Professional v18.1 > User Guide > Installing, Licensing, and Distributing ImageGear > ImageGear Licensing > Application Packaging |
Regardless of your deployment model, the first step in deploying your application is to package the required ImageGear runtime components.
The following content of the /Accusoft/ImageGear18/Bin/.. from your ImageGear Installation represents the APDFL framework components for working with PDF files:
These frameworks should be copied at the "Copy Files" build phase to Frameworks destination (see ImageGearDemo sample for reference).
Also, ImageGear18.framework must be installed to /Library/Frameworks directory on the end-user machine.
If you are using Automatically Reported Runtime (Node-Locked) Licensing model:
Example of a script to set IMAGE_GEAR_LICENSE_DIR environment variable:
Copy Code
|
|
---|---|
#!/bin/sh mkdir -p $HOME/Accusoft/ImageGear18/Licensing # Set environment variable permanently if ! -s "/etc/launchd.conf" ; then touch /etc/launchd.conf fi if ! grep -q 'IMAGE_GEAR_LICENSE_DIR' "/etc/launchd.conf" ; then echo "Editing /etc/launchd.conf to add IMAGE_GEAR_LICENSE_DIR" echo "setenv IMAGE_GEAR_LICENSE_DIR $HOME/Accusoft/ImageGear18/Licensing" >> "/etc/launchd.conf" fi echo "Temporary set IMAGE_GEAR_LICENSE_DIR" for current session launchctl setenv IMAGE_GEAR_LICENSE_DIR $HOME/Accusoft/ImageGear18/Licensing export IMAGE_GEAR_LICENSE_DIR=$HOME/Accusoft/ImageGear18/Licensing |